package com.etoak.entity.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class LoginDTO {

    /*用户名*/
    @NotBlank(message = "用户名不能为空")
    private String username;

    /*密码*/
    @NotBlank(message = "密码不能为空")
    private String password;

    /*uuid-->redis*/
    @NotBlank(message = "uuid不能为空" )
    private String uuid;

    /*验证码*/
    @NotBlank(message = "code不能为空")
    private String code;
}
